package com.baize.markwondemo;

public class UIUtil {

  public static int dpToPx(int dpValue) {
    final float scale = App.mInstance.getResources().getDisplayMetrics().density;
    return (int) (dpValue * scale + 0.5f);
  }

}
